package com.example.shiwuyouproject.ui.fragment.home.bean

data class HomeRecommendListBean(
    val count: Int,
    val `data`: MutableList<HomeRecommendListDataBean>
)

data class HomeRecommendListDataBean(
    val avatar: String,
    val detail: String,
    val end_time: String,
    val fee_end_show: String,
    val fee_start_show: String,
    val id: String,
    val org_id: String,
    val org_name: String,
    val show_address: String,
    val start_time: String,
    val status: String,
    val stu_num: String,
    val tags: Any,
    val title: String,
    val week_day: String
){
    fun getWorkDayTitle():String{
        when(week_day){
            "1" ->{
                return "周一"
            }
            "2" ->{
                return "周二"
            }
            "3" ->{
                return "周三"
            }
            "4" ->{
                return "周四"
            }
            "5" ->{
                return "周五"
            }
            "6" ->{
                return "周六"
            }
            "7" ->{
                return "周日"
            }
        }


        return ""
    }
}